package com.rainbow.redis.plus.core.receiver;

import org.springframework.beans.factory.annotation.Autowired;

import com.rainbow.redis.plus.core.monitor.BlackTagService;

public class RedisReceiver {

	@Autowired(required = false)
	private BlackTagService blackTagService;
	
	public void receiveMessage(String message) {
		if (blackTagService != null) {
			blackTagService.parseBlackTag(message);
		}
	}
}
